
const Koa = require('koa');
const app = new Koa();


// 中间件
app.use(async (ctx) => {

    ctx.body = 'Hello Koa!';
});


app.listen(8088);
console.log('Server run http://localhost:8088');